import http from '../http/http.js'
export default {

    __api_list_users(params) {
        return http.request({
            url: '/users',
            method: 'GET',
            params: params
        });
    },
    __api_list_delete(params) {
        return http.request({
            url: '/users/' + params.id,
            method: 'DELETE'
        });
    },
    __api_list_add(params){
        return http.request({
            url:'/users',
            method:'POST',
            params:params   
        })
    }

}